fix(dataprotection): terminate cluster restores through resource owners - #10777
Open
leon-ape wants to merge 46 commits into
Open
fix(dataprotection): terminate cluster restores through resource owners#10777leon-ape wants to merge 46 commits into
leon-ape wants to merge 46 commits into
Conversation
Collaborator
|
Auto Cherry-pick Instructions CLA Recheck Instructions |
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## main #10777 +/- ##
==========================================
+ Coverage 65.76% 65.79% +0.02%
==========================================
Files 510 511 +1
Lines 64958 65455 +497
==========================================
+ Hits 42721 43067 +346
- Misses 18449 18555 +106
- Partials 3788 3833 +45
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
leon-ape
marked this pull request as ready for review
August 13, 2026 10:01
…restore-finalizer
…restore-finalizer
leon-ape
changed the base branch from
main
to
bugfix/volume-populator-dependency-watches
August 31, 2026 07:34
…/10755-cluster-restore-finalizer # Conflicts: # controllers/dataprotection/volumepopulator_controller.go
…/10755-cluster-restore-finalizer # Conflicts: # controllers/dataprotection/volumepopulator_controller.go
Base automatically changed from
bugfix/volume-populator-dependency-watches
to
main
August 31, 2026 08:25
…restore-finalizer # Conflicts: # controllers/dataprotection/volumepopulator_controller.go # controllers/dataprotection/volumepopulator_controller_test.go
…restore-finalizer
…restore-finalizer
…restore-finalizer # Conflicts: # controllers/dataprotection/volumepopulator_controller.go # controllers/dataprotection/volumepopulator_controller_test.go
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
Cluster or Component deletion is the restore cancellation signal. The target PVC deletion timestamp is not. Cancellation must preserve controller ownership: each controller deletes only the objects it created and removes only the finalizer it added.
Changes
Cluster restore protection
VolumePopulator termination
Restore creation ordering
Identity
Ownership invariants
Dependencies
Tests
controllers/dataprotectionpackagecmd/dataprotectioncompile testFixes #10755